package com.hotel.controller;

import com.hotel.mapper.RoleMapper;
import com.hotel.pojo.Role;
import com.hotel.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author shkstart  跳转界面控制器
 * @create 2021-06-24 22:37
 */
@Controller
public class SkipController {

    @Autowired(required = false)
    private UserService userService;

    //跳转到首页
    @RequestMapping("/skip/toFirst")
    public String toFirst(){
        return "admin/System_dashboard";
    }

    //跳转到系统设置界面
    @RequestMapping("/skip/toBug")
    public String toBug() {
        return "admin/views/404";
    }



}
